package rxt.huiyi.com.rxterfit.component;

import dagger.Component;
import rxt.huiyi.com.rxterfit.ActivityScope;
import rxt.huiyi.com.rxterfit.MainActivity;
import rxt.huiyi.com.rxterfit.module.app.Url1Module;
import rxt.huiyi.com.rxterfit.presenter.Url1Presenter;
import rxt.huiyi.com.rxterfit.view.impl.URL1Respository;

/**
 * Created by huiyi on 2017/5/8.
 */
@ActivityScope
@Component(modules = {Url1Module.class,URL1Respository.class},dependencies = AppComponent.class)
public interface MainComponent {

    MainActivity inject(MainActivity activity);

    Url1Presenter getPresenter();

    URL1Respository getRespository();
}
